package cn.itcast.wanxinp2p.consumer.mapper;


import cn.itcast.wanxinp2p.consumer.entity.Consumer;
import cn.itcast.wanxinp2p.consumer.model.comsumer.ConsumerRegisterDTO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @email 1572178030@qq.com
 * @author:黄海宾
 * @date: 2023/3/30  22:17
 */


public interface ConsumerMapper  {

    Integer getByPhone(String mobile);

    void insertConsumer(Consumer consumer);
}
